﻿namespace ClientLib
{
    using System.Net;
    using System.Text;
    using System.IO;

    public class Client
    {
       public static void connect(ref string message,string constring) 
        {
            HttpWebRequest request = (HttpWebRequest)WebRequest.Create(constring + message);
            HttpWebResponse response = (HttpWebResponse)request.GetResponse();
            StreamReader sr = new StreamReader(response.GetResponseStream());
            message = sr.ReadToEnd();
        }
    }
}
